Skip to content

fix(skills): refresh changed sources and normalize downloaded archives - #1084

Merged
yaozheng-fang merged 5 commits into
volcengine:mainfrom
zakahan:feat/skill-catalog-runtime
Sep 9, 2026
Merged

fix(skills): refresh changed sources and normalize downloaded archives#1084
yaozheng-fang merged 5 commits into
volcengine:mainfrom
zakahan:feat/skill-catalog-runtime

Conversation

@zakahan

@zakahan zakahan commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

The existing dynamic-skills callback can miss a Space package-path change when name and description stay unchanged, and can retain an obsolete local source. Refresh the current Agent.skills each turn using per-Toolset baselines, while keeping the skills prompt stable for locator-only changes. Successful empty/removed sources clear their contributions; failed sources retain their previous result by default.

Agent retains the existing enable_dynamic_load_skills option. There are no new callable parameters, runtime binding components, or run_async override. Its loading code delegates to the skills module. Named SkillsToolset methods preserve application-specific result adaptation and tool instrumentation during refresh; full-invocation serialization remains the application's responsibility.

Space/SkillHub ZIPs with root SKILL.md or a wrapping folder both install under skills//. Preserve permissive deterministic fallback with diagnostic logs, stage/validate before replacement, restore the previous install on failure, and remove temporary ZIPs. Local source replacement also updates the session symlink.

Validation: 142 SDK skills + Playground tests passed, with 7 subtests; VEADK pre-commit passed. Coverage includes source/package changes, independent Agents, stable prompts, empty/failing sources, candidate construction failures, sandbox stream cancellation/cleanup, and ZIP layouts/rollback. A downstream Playground image pinned to this commit was also verified through its original entrypoint, real AgentKit/ADK requests with mock model/Space services, both cleanup modes, ZIP installation and retained-filesystem restart (ADK 1.34.0, AgentKit 0.8.1). No general shared-Agent concurrency guarantee is added.

@zakahan
zakahan force-pushed the feat/skill-catalog-runtime branch from cbaf4c6 to d539914 Compare September 9, 2026 01:20
@zakahan zakahan changed the title feat(skills): refresh invocation skill views with external source composition feat(skills): refresh skill views and normalize downloaded archives Sep 9, 2026
@zakahan zakahan changed the title feat(skills): refresh skill views and normalize downloaded archives fix(skills): refresh changed sources and normalize downloaded archives Sep 9, 2026
@yaozheng-fang
yaozheng-fang merged commit 5aac81e into volcengine:main Sep 9, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants